package com.yixun.qfbao.apidto;

import com.yixun.qfbao.annotation.TYWValid;
import com.yixun.qfbao.apidto.base.CommonReqDTO;

import java.io.Serializable;

public class GetCompanyByPhoneReqDto extends CommonReqDTO implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	/**
	 * 手机号
	 */
	@TYWValid(min = 1, max = 20)
	private String phone;

	
	/**
	 * @return the phone
	 */
	public String getPhone() {
		return phone;
	}
	
	/**
	 * @param phone the phone to set
	 */
	public void setPhone(String phone) {
		this.phone = phone;
	}

}
